package solution;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: ws
 * Date: 2023-01-18
 * Time: 20:19
 */
public class Solution6 {
    public static void main(String[] args) {
        System.out.println(isNumeric("bit666keji123"));
    }
    public static int isNumeric(String str){
        char[] chars = str.toCharArray();
        int count = 0;
        for (char aChar : chars) {
            if (aChar <= 57 && aChar >= 48) {
                count++;
            }
        }
        return count;
    }
}
